package com.jic.member.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.jic.common.base.vo.AdminOperate;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * 会员积分流水表
 * @author : 
 * @email : 
 * @since : 2020-04-17 03:26:50
 * @version : v1.0.0
 */
@Data
@Getter
@Setter
public class MememberIntegralLog implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(notes = "操作信息")
    private AdminOperate adminOperate;
    @ApiModelProperty(notes = "会员积分流水ID")
    private Long id;
    @ApiModelProperty(notes = "用户账号")
    private String userAccount;
    @ApiModelProperty(notes = "第三方用户id")
    private String thirdUserId;
    @ApiModelProperty(notes = "会员id")
    private Long memberUserId;
    @ApiModelProperty(notes = "部门id")
    private Long deptId;
    @ApiModelProperty(notes = "会员积分")
    private BigDecimal integral;
    @ApiModelProperty(notes = "操作类型 1：积分查询 2：积分添加 3：积分修改 4：其他")
    private Integer actionType;
    @ApiModelProperty(notes = "操作类型 1：积分查询 2：积分添加 3：积分修改 4：其他")
    private String actionTypeDes;
    @ApiModelProperty(notes = "创建日期")
    private Date createTime;
    @ApiModelProperty(notes = "创建者id")
    private Long creatorId;
    @ApiModelProperty(notes = "更新时间 数据库")
    private Date updateTime;
    @ApiModelProperty(notes = "更新用户id")
    private Long updateId;
    @ApiModelProperty(notes = "冻结积分")
    private BigDecimal freezeIntegral;
    @ApiModelProperty(notes = "积分变动方式 1：下单赠送2：注册赠送3：评价赠送：4：充值赠送5：分享赠送6：点赞赠送7：晒单赠送8：收藏赠送9：参与活动赠送 10：消费抵现 11：兑换优惠券 12：兑换红包13：兑换产品功能 14：兑换付费内容15：退款返还：16取消评价返还：17取消点赞返还：18：兑换抽奖活动；'")
    private Integer changeMode;
    @ApiModelProperty(notes = "1:积分获取2：积分消耗")
    private Integer changeTypes;
    @ApiModelProperty(notes = "积分变动时间")
    private Date changeTime;
    @ApiModelProperty(notes = "积分类型：1：消费积分、2：任务积分、3：活动积分")
    private Integer integralType;
    @ApiModelProperty(notes = "开始日期")
    private Date startTime;
    @ApiModelProperty(notes = "结束日期")
    private Date endTime;
    @ApiModelProperty(notes = "订单编号,下单送积分时必输")
    private Long orderId;
    @ApiModelProperty(notes = "子平台编号")
    private Integer childId;
    @ApiModelProperty(notes = "店铺会员/普通会员")
    private Integer storeMember;

}